package com.oly.cms.hand.service.impl;

import java.util.List;

import com.oly.cms.hand.mapper.WebHandleMapper;
import com.oly.cms.hand.model.po.WebContact;
import com.oly.cms.hand.service.IWebHandleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebHandleServiceImpl implements IWebHandleService {
    @Autowired
    private WebHandleMapper webHandleMapper;

    @Override
    public int insertWebContact(WebContact webContact) {
        return webHandleMapper.insertWebContact(webContact);
    }

    @Override
    public List<WebContact> selectWebContactList(WebContact webContact) {
        return webHandleMapper.selectWebContactList(webContact);
    }

    @Override
    public WebContact selectWebContactById(Long contactId) {
        return webHandleMapper.selectWebContactById(contactId);
    }
}
